﻿;(function (window, undefined, $) {
 
    $(document).ready(function () {

        $("#btnsaves").click(function () {
            $.post(options.assignUrl, { mids: $("#hideMids").val(), did: $('input[name="DeptId"]:checked').val() },
                 function (res) {
                     if (res.Status > 0) {
                         alert("操作成功！");
                         window.parent.location.href="/Member/DeptAssign.html";
                     }
                     else {
                         alert("操作失败！");
                     }
                 },
                 "json"
           );
        });
    });

})(window, undefined, jQuery);